package com.mlong.admin.modular.unicomjs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kordar.datalist.DataColumn;
import com.kordar.datalist.ExcelDataColumn;
import com.kordar.datalist.formatter.CreateTimeFormatter;
import lombok.Data;

import java.util.Date;

@Data
@TableName("SuZhou_Unicome_order")
public class Order {
    @DataColumn
    @ExcelDataColumn
    @TableId(type = IdType.INPUT)
    private String id;

    @DataColumn
    @ExcelDataColumn
    private String userName;

    @DataColumn
    @ExcelDataColumn
    private String userPhone;

    @DataColumn
    @ExcelDataColumn
    private String userPostcode;

    @DataColumn
    @ExcelDataColumn
    private String userAddress;

    @DataColumn
    @ExcelDataColumn
    private String userIdent;

    @DataColumn
    @ExcelDataColumn
    private String goodId;

    @DataColumn
    @ExcelDataColumn
    private String province;

    @DataColumn
    @ExcelDataColumn
    private String city;

    @DataColumn
    @ExcelDataColumn
    private String phone;

    @DataColumn
    @ExcelDataColumn
    private String uuid;

    @DataColumn
    @ExcelDataColumn(formatter = CreateTimeFormatter.class)
    private Date createTime;
    private Date updateTime;
}
